Skip to main content

cardIDs

Type​

property

Summary​

Reports the cards in a stack or the cards that a specified group appears on.

Syntax​

get the cardIDs of {group | stack}

Description​

Use the cardIDs property to find out which cards are in the stack, or to find out which card IDs have already been used.

Each line of the cardIDs contains the short id of a card.

The cardIDs of a group returns the short ids of all the cards the group is placed on.

Examples​

get line 2 to 5 of the cardIDs of this stack
repeat with y = 1 to the number of lines of the cardIDs of this stack
get the cardIDs of group "navigation"

Value​

NameTypeDescription

value

The cardIDs of a stack or group reports a list of short ID properties of cards, one per line. This property is read-only and cannot be set.

property: groupIDs, ID, cardNames

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?